package com.itshen.mapper;

import com.itshen.domain.dto.OrderDTO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {


    @Insert("insert into order (order_id,user_id,total_amount,status) values (#{orderId},#{userId},#{totalAmount},#{status},)")
    int insert(String orderId, String userId, double totalAmount, String status);

}
